package com.spa.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class BasePO {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 设置 id.
     *
     * @param id ID
     */
    public void setId(Long id) {
        this.id = id;
    }
}
